import { usePosition } from './hook'

export default function Cat () {
  const [position] = usePosition()
  return (
    <div>
      <img
        style={{
          position: 'absolute',
          left: position.x,
          top: position.y,
          width: 300,
          height: 300
        }}
        src='https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202001%2F09%2F20200109224818_hHdft.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1701954611&t=1b2bf3d117f4842ac7f95439e193eb0a'
        alt=''
      />
    </div>
  )
}
